home *** CD-ROM | disk | FTP | other *** search
- class classes.misc.Dummy
- {
- var x;
- var y;
- var id;
- var clip;
- var Name = "dummy";
- function Dummy(px, py, pid)
- {
- this.x = px;
- this.y = py;
- this.id = pid;
- _root.d = _root.d + 1;
- this.clip = _root.attachMovie("dummy","dummy" + this.id + "Clip",_root.d);
- this.clip._x = this.x;
- this.clip._y = this.y;
- }
- function advance()
- {
- this.clip._x = _root.advanceDir != "L" ? this.clip._x + 60 : this.clip._x - 60;
- }
- }
-